package com.chen.service.impl;

import com.chen.annotation.JournalLog;
import com.chen.enums.ResultEnum;
import com.chen.model.Result;
import com.chen.service.JournalService;
import com.chen.staticInfos.StaticInfo;
import com.chen.utils.ResultUtils;
import org.springframework.stereotype.Service;

/**
 * Created by 陈梓平 on 2017/9/11.
 */
@Service
public class JournalServiceImpl implements JournalService {

    @Override
    @JournalLog(operationType = StaticInfo.OPERATIONTYPE_ADD,modularTypeName = StaticInfo.MODEULARTTYPE_FIRST)
    public Result add() {
        return ResultUtils.success(ResultEnum.OK);
    }
}
